package cate.game.fight.msg;


import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBFight;
import cate.game.role.Role;

@ClientMsg(title = "获取玩家所有阵型配置 の 请求")
public class PositionListReq implements MsgInput {


    @Override
    public void execute(GameBody game, ClientContext cc) {
        Role role = cc.getRole();
        role.sendNow(new PositionListResp(role));
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBFight.POSITION_LIST_REQ;
    }

}
